#pragma once

template <class T>
inline int round(T t)
	{ return t >=0 ? int(t + T(0.5)) : int(t - T(0.5)); }
